package com.hlkj.baojin.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * lzx
 */
@Getter
@Setter
public class StatusDataLog {
    //数据值
    @ApiModelProperty("数据值")
    private Double realValue;
    //数据时间
    @ApiModelProperty("时间")
    private Long realTime;
    //数据值
    @ApiModelProperty("实时数据状态 true 正常  false.报警")
    private Boolean isRecover;

    public StatusDataLog() {
    }

    public StatusDataLog(Boolean isRecover,Double realValue ) {
        this.realValue = realValue;
//        this.isRecover = isRecover;
    }

    public StatusDataLog(Double realValue, Boolean isRecover,Long realTime) {
        this.realValue = realValue;
        this.realTime = realTime;
//        this.isRecover=isRecover;
    }
}
